Method for conducting a directed prediction of an image block

ABSTRACT

Pixels on the edge (A, B, C, D; E, F, G, H; I) of previously predicted neighboring picture blocks (A′, B′) are used for directional prediction of a picture block (C′).  
     Depending on the prediction direction, the pixels used for prediction are prefiltered along an edge of the actual picture block to be predicted (C′) in order to suppress prediction artifacts.

BACKGROUND INFORMATION

[0001] The present invention is directed to a method for directional prediction of a picture block composed of pixels, in particular for the intra prediction of picture blocks greater than 4×4 pixels in size.

[0002] It is made known in reference [1], http://standard.pictel.com/ftp/video-site/0109 San/, in particular on pages 9 through 11, that video coding standard H.26L entails carrying out intra prediction on 4×4 pixel blocks or 16×16 pixel blocks. “Intra prediction” means that only that information about an actual picture that was previously transmitted is used to generate a prediction signal (e.g., the first picture in a video sequence is always “intra” coded). According to [1], six modes are available for 4×4 prediction. These modes differ in terms of the direction from which prediction takes place. In this process, the pixels on the edge of previously predicted (coded) neighboring picture blocks are used for prediction.

ADVANTAGES OF THE INVENTION

[0003] With the measures mentioned in claim 1, pixels on the edge of at least one previously predicted neighboring picture block are also used to predict an actual picture block. In addition, those pixels that are used for prediction depending on the prediction direction are pre-filtered along an edge of the current picture block to be predicted, however. This pre-filtering results in improved prediction characteristics, in particular for blocks having a large edge length, i.e., an edge length that is greater than four pixels long.

[0004] The present invention is based on the knowledge that, if directional prediction is to be used for block sizes greater than 4×4 pixels, e.g., 4×8, 8×4, 8×8, 16×8, . . . , 16×16 pixels, then very concise structures are produced in the predicted picture block, the structures resulting in strong artifacts in the reconstructed picture. With the pre-filtering according to the invention, these artifacts are prevented by smoothing the prediction signal; this results in a subjective and objective improvement of the coding procedure for the transfer of picture blocks predicted in this manner.

[0005] With the measures mentioned in claim 2, the pixels of a neighboring picture block that are used for prediction are combined into one prediction vector, and low-pass filtering is carried out along the direction of the prediction direction. This measure simplifies the processing expense compared to a possible one-pass filtering.

[0006] Due to the heaviest weighting of the low-pass filtering at the zero position according to claim 3, i.e., at the position of a pixel to be predicted at that instant, the course of the prediction vector is retained, but the filtering results in a smoothing of the vector. The influence of the adjacent prediction values on the actual position becomes less the further removed they are from the actual position. This procedure dampens the formation of artifacts particularly effectively as block sizes increase.

[0007] The measures mentioned in claim 4 also make an advantageous contribution to the suppression of artifacts.

[0008] Claims 5 through 7 present advantageous measures for handling block edges. In particular, the continuation of the prediction vector with its edge values simplifies the processing and storage expense. This results in increased coding efficiency.

BRIEF DESCRIPTION OF THE DRAWING

[0009] Exemplary embodiments of the invention are explained with reference to the drawing.

[0010]FIG. 1 shows a picture block to be predicted, with its neighboring picture blocks,

[0011]FIG. 2 shows an actual picture block to be predicted, with its individual pixels and the pixels of the neighboring picture blocks on its edges,

[0012]FIG. 3 shows the prediction directions of the various prediction modes,

[0013]FIG. 4 shows a picture block that is 4×4 pixels in size with predicted pixels, using previously predicted pixels from a neighboring block,

[0014]FIG. 5 shows a picture block that is 8×8 pixels in size with unfiltered prediction, and

[0015]FIG. 6 shows the picture block in FIG. 5, but with pre-filtering according to the invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] Before the invention itself is discussed, the direction-dependent intra prediction made known in [1] will be described in greater detail, to facilitate a better understanding. Intra prediction according to [1] is carried out on 4×4 pixel blocks or 16×16 pixel blocks. Six modes are available for 4×4 prediction; they differ in terms of the direction from which prediction is carried out. The pixels on the edge of previously coded neighboring picture blocks are used for prediction. Possible blocks A′ and B′ adjacent to the actual picture block C′ to be predicted are shown in FIG. 1. FIG. 2 shows the actual picture block C′ with its pixels a, b, c, . . . , p and the pixels on the edges of the neighboring picture blocks, namely A, B, C, D of picture block A′ on top, and E, F, G, H of the neighboring picture block B′ on the left, and I of the neighboring block that abuts it in the upper left-hand corner (shown in FIG. 1 as a dashed line).

[0017] In addition to DC (direct component) prediction, in which the mean of positions A through H are used as prediction for all pixels in picture block C′, five modes having various prediction directions are available. In addition to horizontal and vertical prediction, three diagonal prediction directions are possible as well. The prediction directions are depicted in FIG. 3. An example of prediction using mode 1 is shown in FIG. 4. In this mode, only pixels A through D are used for prediction. In mode 1, prediction takes place as follows: Prediction of pixel By a (A + B)/2 e B b, i (B + C)/2 f, m C c, j (C + D)/2 d, g, h, k, l, n, o, p D

[0018] Prediction based on 16×16 pixel blocks is used in picture regions with little activity. DC prediction, horizontal and vertical prediction, and a somewhat more complex “plane” prediction method are available for this purpose. For a complete description of intra prediction methods, reference is made to H.26L Test Model (TML) [1].

[0019] The methods presented for 4×4 prediction can be expanded directly to other block sizes. To do this, the predictions are continued accordingly.

[0020] If directional prediction of the type defined previously for 4×4 picture blocks are to be used for picture blocks having more than 4×4 pixels, e.g., 4×8, 8×4, 8×8, 16×8, . . . , 16×16, very concise structures can be produced in the predicted picture block, the structures resulting in strong artifacts in the reconstructed picture. The measures according to the invention prevent these artifacts and therefore result in a subjective and objective improvement of the coding procedure.

[0021] The description is based on the directional prediction modes used in TML [1] for the intra coding of 4×4 picture blocks. Picture blocks that are 4×8, 8×4, 8×8, 8×16, 16×8 and 16×16 pixels in size are considered. Filtering is used at the edges having lengths >4 pixels long, i.e., for edges that are 8 or 16 pixels long.

[0022] The method can also be used for other block sizes and prediction directions.

[0023] The pixels of the actual picture block that is M lines and N columns in size are referred to hereinbelow as:

[0024] P (i, j), i=0, . . . , N−1, j=0, . . . , M−1

[0025] The pixels of the neighboring picture blocks used for prediction are located in positions P(−1, j) and P(i, −1). They are combined hereinbelow in prediction vector V(n) having length N_(f). In the case of mode 1 prediction presented hereinabove for 4×4 blocks, the following therefore applies, with Nf=4:

[0026] V(n)=P(n,−1)=[A, B, C, D], n=0, . . . 3.

[0027] To predict a picture block, V(n) is not used, rather, a filtered version V_(f)(n) is used. For filtering, a (low-pass) filter having a suitable length L is used, e.g.: Edge length Filter h(n) Filter length L  8 7/32, 18/32, 7/32 3 16 3/32, 7/32, 12/32, 7/32, 3/32 5

[0028] Pre-filtering takes place depending on the prediction direction. In mode 1 presented hereinabove, it takes place along the upper block edge of the actual picture block C′ to be predicted. Pre-filtering takes place along the direction of prediction vector V(n).

[0029] Using low-pass filtering, a smoothing of the prediction signal is achieved. There are many possibilities for handling the edge.

[0030] Constant continuation with V(0) and V(N_(f)−1) at the edges

[0031] For the right and bottom edge, use previously coded pixels that are located beyond the block edge region, e.g., V(n)=P(n, −1) with n=N, . . . N_(f)−1

[0032] For the left and top edge: continuation of the prediction vector along the edge, e.g,:

[0033] V(n)=P(n, −1), for n=0, N_(f)−1

[0034] V(n)=P(−1, −(n+2)), for n=−int(L/2), . . . , −1

[0035] In this case, int(x) means “rounding by truncation”.

[0036] The effect of pre-filtering is shown in FIG. 5 using an 8×8 picture block as an example, with prediction mode 1. FIG. 5 depicts unfiltered prediction.

[0037]FIG. 6 depicts the predicted picture block with pre-filtering using the filter with length 3 indicated hereinabove for the edge length of 8 pixels.

[0038] A possible embodiment of pre-filtering is presented hereinbelow.

[0039] The following is given: an 8×8 block P(i, j), i, j=0, . . . , 7, with a prediction vector V(n), n=0, . . . , 7.

[0040] Filtering is carried out using a 3-tap filter for picture blocks having an edge length 8, with filter coefficients h(n)=(7 18 7)/32.

[0041] Pre-filtering with constant continuation at the edges results in:

[0042] V_(f)(0)=(7*V(0)+18*V(0)+7*V(1))/32

[0043] V_(f)(1)=(7*V(0)+18*V(2)+7*V(3))/32

[0044] V_(f)(2)=(7*V(1)+18*V(3)+7*V(4))/32

[0045] V_(f)(7)=(7*V(6)+18*V(7)+7*V(7))/32

[0046] Vector V_(f)(n), n=0, . . . , 7 is then used for prediction of the actual picture block C′.

[0047] As depicted in FIG. 5, strong artifacts of prediction are visible when coarse quantization is carried out without using the method according to the invention. Instead, when the method according to the invention is used, a soft course appears (using low-pass filtering). In picture blocks in which all AC (alternating component) coefficients were quantized to zero, the picture block can be determined directly from the pixels on the edge of the neighboring picture blocks when the prediction mode and the filter used are known.

REFERENCE

[0048] [1] G. Bjontegaard and Thomas Wiegand (eds.), ‘H.26L Test Model Long-Term (TML) 8’, Doc. VCEG-N10, ITU-T Q6/SG16 VCEG, 14^(th) Meeting, Santa Barbara, Calif., September 2001 

What is claimed is:
 1. A method for directional prediction of a picture block (C′) composed of pixels (a, b, . . . , p), in particular for the intra prediction of picture blocks greater than 4×4 pixels in size, whereby pixels on the edge (A, B, C, D; E, F, G, H) of at least one previously predicted neighboring picture block (A′, B′) are used for prediction of an actual picture block (C′), and whereby those pixels that are used for prediction depending on the prediction direction are prefiltered along an edge of the current picture block (C′) to be predicted.
 2. The method as recited in claim 1, wherein the pixels of the at least one neighboring picture block that are used to predict the actual picture block are combined into one prediction vector, and wherein low-pass filtering of the pixels used for prediction is carried out along the direction of the prediction vector.
 3. The method as recited in claim 2, wherein the zero position is weighted most heavily in the low-pass filtering.
 4. The method as recited in one of the claims 1 through 3, wherein pixels are also used for low-pass filtering that are located beyond the edge region of the actual picture block.
 5. The method as recited in claim 4, wherein the pixels for prediction that are located beyond the block edge region are obtained by continuing the prediction vector at the block edges.
 6. The method as recited in claim 5, wherein the vector component values at the beginning and end of the prediction vector are used to continue the prediction vector.
 7. The method as recited in claim 5, wherein, to continue the prediction vector, previously predicted pixels of neighboring picture blocks are used that do not directly share a block edge with the current picture block to be predicted. 